package com.ipan.weixin.msg.send;

import com.ipan.weixin.msg.AbstractJsonMsg;

/**
 * 客服消息
 * 
 * @author iPan
 * @version 2013-12-25
 */
abstract public class AbstractSendJsonMsg extends AbstractJsonMsg {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -1128378527677150138L;

	/** 普通用户openid */
	protected String touser;

	/** 消息类型 */
	protected String msgtype;

	public AbstractSendJsonMsg(String msgtype) {
		this.msgtype = msgtype;
	}

	public AbstractSendJsonMsg(String touser, String msgtype) {
		this.touser = touser;
		this.msgtype = msgtype;
	}

	public String getTouser() {
		return touser;
	}

	public void setTouser(String touser) {
		this.touser = touser;
	}

	public String getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}

}
